﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ThirdParty.Application.Model.ViewModel.Request
{
    /// <summary>
    /// 创建订单
    /// </summary>
    public class CreateOrderReqDto
    {
        /// <summary>
        /// 商品ID(非空)
        /// </summary>
        public string ProductId { get; set; }

        /// <summary>
        ///  商品描述
        /// </summary>
        public string ProductDesc { get; set; }

        /// <summary>
        ///  商品附加数据
        /// </summary>
        public string ProductAttach { get; set; }

        /// <summary>
        /// 支付金额(非空)
        /// </summary>
        public string PayAmount { get; set; }

        /// <summary>
        /// 交易类型(非空)  <see cref=" Application.Enums.PayTypeEnum"  />
        /// </summary>
        public int PayType { get; set; }

        /// <summary>
        /// 微信用户唯一标识，JSAPI支付时传入
        /// </summary>
        public string OpenId { get; set; }

        /// <summary>
        /// 用户Id
        /// </summary>
        public long UserId { get; set; }

        /// <summary>
        /// 设置支付完成同步回调地址
        /// </summary>
        public string ReturnUrl { get; set; }

        /// <summary>
        /// 支付中途退出返回商户网站地址
        /// </summary>
        public string QuitUrl { get; set; }

        /// <summary>
        /// 设置支付完成异步通知接收地址
        /// </summary>
        public string SetNotifyUrl { get; set; }
    }
}
